A Flask service for user authentication