fixed logout error from user show page