send login/register data on Enter press