add reg and login