improve error handling in login widget, double check auth controller is logged in before proceeding, and log any errors to js console