finalizing some things with the main page