web token and login
Merge pull request #11 from conorfennell/webtoken

login and json web token