[#106] Postgres would throw an exception if we not using valid user id.

Signed-off-by: crynobone <crynobone@gmail.com>
[#106] Strict requirement to set user->status on Postgres environment.

Signed-off-by: crynobone <crynobone@gmail.com>