Solved problem with routing. Added routing with login