Moved admin functions to separate file
Changed javascript href in a tag for tab