added admin features to controller and fixed initial css header problem