Added logout capabilities