Return value from login controller to have success callback on the frontend.