working on authentication mechanism in Snap Monad