Fixes bug with home view when not logged in