small refactor
split user and login info
turn on db config
refactor on application controller
refactor on application controller
add password handler
use hash function to store passwords
fix string out of bound on fromHex
add cache
use db to retrieve user info