fix login_users and deploy script