Change request handling in the backend.
added retrieveByCredentials function to see, if a user is registered or not.