added database integration to AuthPass, removed remnants from handlers.