Merge pull request #1 from intoxicated/master

partial implementation of match functions
Merge pull request #2 from intoxicated/implementating-match-function

fixed some errors
Merge pull request #3 from intoxicated/implementating-match-function

Implementating match function
Merge pull request #4 from intoxicated/master

Refactor add/remove time
api/register and api/authenticate properly implemented; return a JWT
merge in initial authentication changes