added sessions controller
user model and config