merge login and register forms #1944