add user login/register process