Generated user model
more work on user model and sessions controller