CORS issue solved at Rails End.
Services integration#Work in progress
Added session and login services.
add dashboard service
Added redirection and fixed syntax issue with sessionService
Added Header controller
show logout button with route change
Route change event added in app.js