Made a basic user model including user authentication from scratch