Added finished ex5 with fixxed security problems