add routing and make user login work