Fixed security issues in users section