changed to *-dev version, added isLoggedIn() function and reduced isAdmin() requests