commit login/register