Updating userLogin and userLogout