Validation of unapproved member in login