fix some bugs on main page and add logo