6NOV2013 Add logout functionality