update method to call static isLoggedIn() to avoid instantiantion