remove file and authenticate_user