Nicola AM 24.09.14

Major changes to backend of app.
- when user logs in all data up to section page is added to the sqlite
database
-functions have been added to retrieve data from the sqlite database