Code to PHP 5.4
Added delete account
Improvement of Model