Fixes a bug when creating new users. Also made password required.