logging in and deleting account works with ajax