hitting enter should submit login/register page