Follow coding standards
add logout