Set logged_in? state based environment