moved youreloggedout to views