Split tabs in two templates, refactor login_register in two