adds basic user model and password authentication