login should be finished, layout-problems in register after converting it into template.xhtml;