main page simple functionality