removal of obsolete $access2 variable
removed obsolete functions from helper (front)