Refactoring pages
Set frontend