updated to log in remove action