added security to assignment submissions