root url changed to main_app in sessions controller