Basic Login using oauth. Also completed basic routing for ajax requests