implemented application controller, sessions controller, sessions and user model