Fix problem with accessing user index page when not logged in