Should really get around to playing with serverless soon! https://yos.io/2017/09/03/serverless-authentication-with-jwt/