change view when logged in
no need for index.php in url