updates to log out and type rendering