Rolling own Auth module.