Added user model and started session handling