Check the Login: Added else if and else

Added an else if statement to check if the username matches, and an
else statement to handle it if the user is not found. Add comments