New method that check if a user is valid or not