Split JS in folders (application/basic)
Add route for message#count, and graphical ui
Changed graphs url
Changed scripttags
Check only one time if user may view something (analysis#index)
Add count method for messages
Add remote true for forms
Check only user when login (or else do setup)
Graphs methods