Interaction changes

I have implemented the ngRoute for navigation between the login and the
main page, fix some issues with the getting the data from the json file.
Need more modification to be fully functional.