updated functions
Merge branch 'web' of https://github.com/OxfordBrookes/Tracker into web