commit to save

cleaned up appending display
added PublicFunction for checking if valid token