add login module; add register module(unfinished)