Bug fix for non-admins when logging in.