user login and regist.