adapted user profile page to new data structure