changed users controller to not rely on parsing email names