Changed userLogin implementation

能直接include了, 改userLogin里空着的if branch就好