set logout for user