Minor updates to RestPacket
Added Logout and additional checking