fixed page rendered if user is logged in