Added isUserLoggedIN