after_login can now receive a context variable (usually the controller)