reduce number of database calls in user profile