Add more error reporting during signup and login