Error no longer displayed when refreshing main page when not logged in.