added so the loginRequired is false for the login and logout api calls