Added the sessions controller and user model validation