Added preferences column to user model, including tests. Closes #73