add exception handling error messages for user login