fix profile when not logged in