made database, checkboxes
made edits to user controller and preferences view
fixed conflicts