changed db and add user profile