Fixed a minor bug in views, and created migration for table users.