making instance of unique loggedAs controller available. not sure if it is the correct way