0a3

Finish Login function.
Still need to improve.