modified a few homepage functionalities