Checks if user is registered.