broken. Included hashing of the user's passwords (on the database) and
checking of the hash. Also fixed bug in newtab_page concerning incorrect
method call.

Signed-off-by: yongzhez <yongzhe.zheng1@gmail.com>