Switched email in login call to username and made it so login would accept a valid token instead of credentials