Authentication, add\modify user, client and format

Formatting code

Make hex decoding and encoding consistent

Add Authentication: If message, check signature with message; else
check signature with user's public key

Add adduser and modifyuser: API structure slightly modified

Create client.py