Merge pull request #34 from denisstepanenko/Authentication

added server side authentication and linked to user in db
added ApiControllerBase that I forgot to include in previous commit