handling logout and get /