Added error output
More work on signing and authenticating

Use the actual keys, dummy.