fixed various bugs
This is server-end for Nuntius beta version