created index and profile pages