rearranging directories
adding mongodb connection for plugins per user