Makes sure to detach things only if widar is logged in