refine api GET routes
initial setup of rails POST routes
intial setup of angular public graph routes, reorganize js file structure
POST route for public graphs
refine POST routes
initial route and view setup for user authentication configurations
config main.js to intercept requests and redirect on unauthorized requests, config application.rb to have devise serve json
move out authentication actions from login controller to session service TODO: error handling for auth