Modified SessionsController and added message response functions to ApplicationController
Added authentication and rememberable feature