initializing homepage