Implemented basic user model and tests