setting all methods to virtual that can be overridde
preparing to support multiple security providers
removing unneeded variable
updating css path and xml