#1 Added call for login and registration to the api even if the call doesn'T work