checking to see if user exists to prevent double texting, returning error messages if username is not valid or in use