Made the profile page and relevant tests.