Refactor routes & auth + profile works