Added respond to login in the custom controller