Day View hacks / fixes, login toLowerCase, checkCalendar method, requestData method and callback pattern, Database defines