add user login validation logic