Removed useless view files and made users email the primary key in the users table