First part of the single page application