Fixed delete a user bug by handling the RecordNotFound exception raised by ActiveRecord. Deleting a user now properly redirects to homepage and restricts a user from logging into that profile. The database was then reset