Fix login. Clean up API
Remove DB calls from controller. Check passwords in DB working!
Store user's id in session after login procedure success
user name in nav-bar. logout fix
Store dropbox token in DB
Use dropbox token stored in the database. It is working !
separate js code
Merge branch 'UsersInDatabase'.

Changes:
 - integrate user settings page with the datababse ( may need some
   tweaking when writing values)
 - fix login problems, store password in the database
 - small DAO changes to make it more usable
 - test dropbox API wrapper
 - create upload image view with cool colorfull tick boxes