User auth

Adding user authorization via json web tokens.