connect the front page with the backend function to enable display information dynamically and add the admin control function