remove logout from pages controller