changed loggedin function ALL controllers!