profile pages are displaying data from database