User section

1) Made loginView write main data to localstorage
2) Created a controller for training section with ajax call
3) Separated userTemplate and userTrainingTemplate
4) Extended userTrainingView from userView