reworked Documentation and solved isLoggedIn() bug