Update user model.
Refactor folders, update user model and add authentication and db connection