View to check the persona assertion and remember the user

def login(request):
    """View to check the persona assertion and remember the user"""
    email = verify_login(request)
    request.response.headers.extend(remember(request, email))
    return {'redirect': request.POST.get('came_from', '/'), 'success': True}