Added the misc_helper helper and put the user permission function in it to use in all classes necessary