User auth

Adding user authorization based on JSON Web Tokens.