impl admin page and post function