Moved onAfterLogin handler to the user class