added login elements and route structure