add admin views and js, copied from post for now