Refactored and enhanced initial admin creation