Fixed broken homepage when not logged in. Now checks if logged in for image stream