Fixed is_logged_in on controllers