Added routing functionality and profile page