Added create user functionality and refactored toasts and validation.