fixed bugs and finished server unit testing v1.0

Finished server unit testing v1.0

Bug fixes:

fixed error in databse class, setPassword function.
A comma was missing.

Uploaded private.properties again.