Argument check inplemented for user registration.