minor changes for unlogged in user