turn the login action into a celery task