changed redirect mechanism
removed max_people from courses table. added some 'funcions' usability (delete function, some checks).
added views in DB (kursy_aktualne, kursy_zakonczone)
added some checks to courses.
removes some warnings from php (datetime and timezone)
fixed Messages from postgress. Now www site shows errors.
improved view of messages.