Added messages from DB to registration, date parsing; fixed some mistakes