Added DB related support
Made a basic user model