Connecting to RoR backend

cleaned up application
login is working and profile page is working
events will be working next.