Added logout capability to app