def logout(request): username = request.session['username'] utils.unset_session(request, username) return portal(request)
def merlogout(request): username = request.session['username'] utils.unset_session(request, username) return merchsignin(request)