Change logout from place to action