front-end code for guild webpage