Updated copy. Created user model and controller