adding webstorm's .idea folder to .gitignore
added plugin hook > action:user.create on user creation
websockets.js to follow same pattern to avoid circular dependencies