Add method to render page
Change methodic for render