Add error handling for user login and register