Protected the database with htaccess
Added database model