CHANGED:user login function;(TBC)