added admin functions and styling