Added method to check and validate user's credentials