view controls for loggout