add log for request
remove some whitespace
fix a bug in encrypt password
fix bugs in user
add time functions in lib.text