Added doc blocks where missing. Added auth check to user delete ajax query and did some other tweaks to user model