Adds user model and login structure