Fixed bugs in auth and message modules.
Add police plugin.