added struct error handling for non-motion passwords entered