change user model to use bools instead of integers