Proper logging out and kicking implemented