with logout build in