remove unused packages
Remove deprecated loggedIn session variable.