use database as the user profile