last minute changes before handin

mainly MYSQLi connected stuff