Add JETBrains files to gitignore and fix server users functions

Notices which user functions (add / delete user) are not working on the server side (php). I did a fast patch, but please review node because I'm new on grinder, still not comfortable with the code =)

Feedback is welcome!