refactor db connection, create user model
jump