make sure you are logged in properly before showing anything. if you arent, you get dumped on the login page.
using .htaccess, we dont need index.php/ in the url.