added before filters to all admin controllers as well as the event controller on the user side that sets varibles that reoccur within the class, thus saving a few lines of code.