register and login on same page. Closes #51