add login and regist action