added local db for user data