edit delete admin function and style for homepage