check for expired keys
added expired key check
fixed validate
addtional help text
more error handling