login controller

Signed-off-by: kentliau <kent.jr@me.com>