fixed ApplicationController; routes; SessionsController

Signed-off-by: Alex Izotov <martinandrudy@gmail.com>